package com.lzhsite.technology.designPattern.flyweight;

public class ConcreteWebSite extends WebSite
{
    private String name = "";

    public ConcreteWebSite(String name)
    {
        this.name = name;
    }

    public void setUser(User user)
    {
        System.out.println("网站分类：" + name + " 用户：" + user.getName());
    }
}
